package es.uji.viselab.experiment;

import es.uji.viselab.BenchMarkingSystem;
import es.uji.viselab.benchmark.database.DBConnection;
import es.uji.viselab.benchmark.source.Source;
import es.uji.viselab.network.DataPackage;

public class WaitExperiment extends Experiment {

	/*
	public WaitExperiment(DBConnection db, Source s) {
		super(s,db);
	}
*/
	public WaitExperiment(Source s, BenchMarkingRecorder bm) {
		super(s,bm);
	}

	@Override
	public void newDataArrived(DataPackage dn) {
		super.newDataArrived(dn);
	}
	
	@Override
	public void start(){
		super.start();
		source.start();
	}

	@Override
	public void newConnectionStablished() {

		source.keepReceiving();
	}
	
}
